package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 招生战队周期
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("enroll_team_period")
@ApiModel(value = "EnrollTeamPeriod对象", description = "招生战队周期")
public class EnrollTeamPeriod implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("期数：如1期为1")
    private Integer stageNum;

    @ApiModelProperty("年份与季度")
    private Integer yearAndNum;

    @ApiModelProperty("开始日期")
    private LocalDate startDate;

    @ApiModelProperty("结束日期")
    private LocalDate endDate;

    @ApiModelProperty("1使用中，2结束")
    private Integer status;

    @ApiModelProperty("0")
    private Integer deleted;

    @ApiModelProperty("创建日期")
    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getStageNum() {
        return stageNum;
    }

    public void setStageNum(Integer stageNum) {
        this.stageNum = stageNum;
    }
    public Integer getYearAndNum() {
        return yearAndNum;
    }

    public void setYearAndNum(Integer yearAndNum) {
        this.yearAndNum = yearAndNum;
    }
    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }
    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "EnrollTeamPeriod{" +
            "id=" + id +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", stageNum=" + stageNum +
            ", yearAndNum=" + yearAndNum +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", status=" + status +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
        "}";
    }
}
